<volist name="order" id="vo">
    <div class="order-list">
        <p class="order-number">
            订单号：<span>{$vo.order_id}{$vo['state']}</span>
            <if condition="$vo['status'] eq 2">
                <label class="fright">交易失败</label>
            </if>
            <if condition="$vo['is_deliver'] eq 1 AND $vo['status'] eq 0">
                <label class="fright">待收货</label>
                <elseif condition="$vo['status'] eq 3"/>
                <label class="fright">交易成功</label>
                <elseif condition="$vo['is_pay'] neq 1 AND $vo['status'] eq 0"/>
                <label class="fright">待付款</label>
                <elseif condition="$vo['is_pay'] eq 1 AND $vo['is_deliver'] neq 1 AND $vo['status'] eq 0 "/>
                <label class="fright">待发货</label>
                <if condition="$vo['state'] eq '0' AND $vo['status'] neq -1">
                    <label class="fright" style="color:orange;margin-right:0.05rem;">待审</label>
                </if>
                <elseif condition="$vo['status'] eq -1"/>
                <label class="fright">已取消</label>
            </if>
        </p>
        <volist name="vo['order_good']" id="v1">
            <dl>
                <a href="{:U('Order/order_confirm', array('id'=>$vo['id']))}">
                    <dt><img src="{$v1.img}"/></dt>
                    <dd>
                        <p class="order-name">{$v1.g_name}</p>
                        <p class="order-num"><span>{$v1.num}</span><span>X</span></p>
                        <if condition="$v1.order_status eq 1"><span class="back_money">退款中</span></if>
                        <if condition="$v1.order_status eq 2"><span class="back_money">退款成功</span></if>
                        <if condition="$v1.order_status eq 3"><span class="back_money">退款失败</span></if>
                    </dd>
                </a>
            </dl>
        </volist>
        <p class="order-cash">共<span class="num">{$vo['good_num']}</span>件商品 合计：¥
            <span class="cash">
                <eq name="Think.session.user_id" value="$vo['uid']">
                   <php>echo ($vo['price']*100 - $vo['discount']*100 + $vo['freight_price']*100)/100;</php>
                <else/>
                   <php>echo ($vo['total_price']*100 - $vo['discount']*100 + $vo['freight_price']*100)/100;</php>
                </eq>
                (含运费折扣)
            </span>
        </p>
    </div>
</volist>